import request from '@/utils/request'

export const getDictCode = (dictCode:string) => {
	return request({
	    url:'system/dict/data/' + dictCode,
	    method:'get',
	})
}

export const getDicts = (dictType:string) => {
	return request({
	    url:'/system/dict/data/type/' + dictType,
	    method:'get',
	})
}

export const getConfigKey = (configKey:string) => {
	return request({
	    url:'/system/config/configKey/' + configKey,
	    method:'get',
	})
}

export const getBannerList = (data:any) => {
	return request({
	    url:'/mall/o/v1/asList',
	    method:'post',
		data:data
	})
}

